/**
 * 
 */
package example;

import java.io.IOException;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author shipeng
 *
 */
public class DubboProductorMainApp {

  /**
   * @param args
   */
  public static void main(String[] args) {

    ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath*:/META-INF/services/business-services.xml");

    applicationContext.start();

    try {
      System.in.read();
    } catch (IOException e) {
      e.printStackTrace();
    }

    applicationContext.close();

  }

}
